package com.trainfinder.database;

public class Line {

	private JourneyDetails outwardJourney = null;
	private JourneyDetails returnJourney = null;
	
	public JourneyDetails getOutwardJourney() {
		return outwardJourney;
	}

	public JourneyDetails getReturnJourney() {
		return returnJourney;
	}

	public void setOutwardJourney(JourneyDetails journeyDetails) {
		outwardJourney = journeyDetails;
	}

	public void setReturnJourney(JourneyDetails journeyDetails) {
		 returnJourney = journeyDetails;
	}
	 
}
